package com.ruoyi.combat.util;

import com.ruoyi.combat.domain.apprisk.CombatApplication;
import com.ruoyi.combat.service.apprisk.YueQuanService;

/**
 * 异步处理apk检测
 */
public class YuequanTask implements Runnable{

    private CombatApplication combatApplication;

    private YueQuanService yueQuanService;
    private Long userId;

    public YuequanTask(YueQuanService yueQuanService,CombatApplication combatApplication,Long userId){
        this.yueQuanService = yueQuanService;
        this.combatApplication = combatApplication;
        this.userId = userId;
    }

    @Override
    public void run() {
        yueQuanService.service(combatApplication,userId);
    }
}
